<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>编辑支付查看答案</title>


<link href="${base}/resources/admin/css/amazeui.css" rel="stylesheet" type="text/css" />
<link href="${base}/resources/admin/css/common.css" rel="stylesheet" type="text/css" />

</head>
<body>
	<div class="path">
		<a href="${base}/asl-admin/common/index.htm">${message("admin.path.index")}</a> &raquo; 编辑支付查看答案
	</div>
	<form id="inputForm" action="update.htm" method="post">
		<input type="hidden" name="id" value="${yiyuan_trade.id}" />
		<table class="input">
			<tr>
				<th>
					编号:
				</th>
				<td>
					${yiyuan_trade.sn}
				</td>
			</tr>
            <tr>
                <th>
                    用户:
                </th>
                <td>
					[#if yiyuan_trade.buyer ??]
                    	${yiyuan_trade.buyer.username}
					[/#if]
                </td>
            </tr>
            <tr>
                <th>
                    支付状态:
                </th>
                <td>
                [#if yiyuan_trade.paymentStatus=="unpaid"]
                    <span class="am-badge am-badge-danger am-radius">${yiyuan_trade.paymentStatus.toValue()}</span>
                [#else ]
                    <span class="am-badge am-badge-primary am-radius">${yiyuan_trade.paymentStatus.toValue()}</span>
                [/#if]
                </td>
            </tr>
            <tr>
                <th>
                    支付方式:
                </th>
                <td>
					[#if yiyuan_trade.paymentMethodName ??]
                    	${yiyuan_trade.paymentMethodName}
					[/#if]
                </td>
            </tr>
            <tr>
                <th>
                    创建日期:
                </th>
                <td>
					${yiyuan_trade.createDate}
                </td>
            </tr>
            <tr>
			<tr>
				<th>
					&nbsp;
				</th>
				<td>
					<input type="button" class="button" value="${message("admin.common.back")}" onclick="location.href='list.htm'" />
				</td>
			</tr>
		</table>
	</form>
</body>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.tools.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/jquery.validate.js"></script>
<script type="text/javascript" src="${base}/resources/admin/editor/kindeditor.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/common.js"></script>
<script type="text/javascript" src="${base}/resources/admin/js/input.js"></script>
<script type="text/javascript">
    $().ready(function() {

        var $inputForm = $("#inputForm");
        var $browserButton = $("#browserButton");

	[@flash_message /]

        $browserButton.browser();

        // 表单验证
        $inputForm.validate({
            rules: {
                xxx: "required"
            }
        });

    });
</script>
</html>
